package com.greenleaf.entity;

import java.util.Date;

import org.springframework.stereotype.Component;
/**
 * 活动表
 * */
@Component
public class Activity {
private Integer atId;//编号
private String atTitle;//主标题
private String atTest;//内容
private Date sTime;//开始时间
private Date eTime;//结束时间
private String atImg;//图片
public Activity(Integer atId, String atTitle, String atTest, Date sTime, Date eTime, String atImg) {
	super();
	this.atId = atId;
	this.atTitle = atTitle;
	this.atTest = atTest;
	this.sTime = sTime;
	this.eTime = eTime;
	this.atImg = atImg;
}
public Activity() {
	super();
}
public Integer getAtId() {
	return atId;
}
public void setAtId(Integer atId) {
	this.atId = atId;
}
public String getAtTitle() {
	return atTitle;
}
public void setAtTitle(String atTitle) {
	this.atTitle = atTitle;
}
public String getAtTest() {
	return atTest;
}
public void setAtTest(String atTest) {
	this.atTest = atTest;
}
public Date getsTime() {
	return sTime;
}
public void setsTime(Date sTime) {
	this.sTime = sTime;
}
public Date geteTime() {
	return eTime;
}
public void seteTime(Date eTime) {
	this.eTime = eTime;
}
public String getAtImg() {
	return atImg;
}
public void setAtImg(String atImg) {
	this.atImg = atImg;
}
@Override
public String toString() {
	return "Activity [atId=" + atId + ", atTitle=" + atTitle + ", atTest=" + atTest + ", sTime=" + sTime + ", eTime="
			+ eTime + ", atImg=" + atImg + "]";
}

}
